compress/flate.huffmanBitWriter.literalFreq (field)
17 uses
compress/flate (current package)
huffman_bit_writer.go#L85: literalFreq []int32
huffman_bit_writer.go#L97: literalFreq: make([]int32, maxNumLit),
huffman_bit_writer.go#L299: litEnc.bitLength(w.literalFreq) +
huffman_bit_writer.go#L309: fixedLiteralEncoding.bitLength(w.literalFreq) +
huffman_bit_writer.go#L448: extraBits += int(w.literalFreq[lengthCode]) * int(lengthExtraBits[lengthCode-lengthCodesStart])
huffman_bit_writer.go#L533: for i := range w.literalFreq {
huffman_bit_writer.go#L534: w.literalFreq[i] = 0
huffman_bit_writer.go#L542: w.literalFreq[t.literal()]++
huffman_bit_writer.go#L547: w.literalFreq[lengthCodesStart+lengthCode(length)]++
huffman_bit_writer.go#L552: numLiterals = len(w.literalFreq)
huffman_bit_writer.go#L553: for w.literalFreq[numLiterals-1] == 0 {
huffman_bit_writer.go#L567: w.literalEncoding.generate(w.literalFreq, 15)
huffman_bit_writer.go#L624: for i := range w.literalFreq {
huffman_bit_writer.go#L625: w.literalFreq[i] = 0
huffman_bit_writer.go#L629: histogram(input, w.literalFreq)
huffman_bit_writer.go#L631: w.literalFreq[endBlockMarker] = 1
huffman_bit_writer.go#L637: w.literalEncoding.generate(w.literalFreq, 15)
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |